
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>1.3 完全分布式环境搭建 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="1.2.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    第一章 Hadoop环境搭建
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="1.1.html">
            
                <a href="1.1.html">
            
                    
                    1.1 安装JDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="1.2.html">
            
                <a href="1.2.html">
            
                    
                    1.2 Hadoop伪分布式安装
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.3" data-path="1.3.html">
            
                <a href="1.3.html">
            
                    
                    1.3 完全分布式环境搭建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    第二章 Hadoop高可用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../chapter2/HadoopHA原理.html">
            
                <a href="../chapter2/HadoopHA原理.html">
            
                    
                    2.1 HadoopHA原理与机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../chapter2/HadoopHA搭建规划.html">
            
                <a href="../chapter2/HadoopHA搭建规划.html">
            
                    
                    2.2 HadoopHA搭建规划 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../chapter2/Zookeeper介绍.html">
            
                <a href="../chapter2/Zookeeper介绍.html">
            
                    
                    2.3 Zookeeper介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../chapter2/Zookeeper搭建.html">
            
                <a href="../chapter2/Zookeeper搭建.html">
            
                    
                    2.4 Zookeeper配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../chapter2/HadoopHA配置.html">
            
                <a href="../chapter2/HadoopHA配置.html">
            
                    
                    2.5 HadoopHA配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    第三章 动态增删节点与常见配置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../chapter3/3.1集群节点动态增删.html">
            
                <a href="../chapter3/3.1集群节点动态增删.html">
            
                    
                    3.1 集群节点的动态增删
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../chapter3/3.2常见错误与常用配置.html">
            
                <a href="../chapter3/3.2常见错误与常用配置.html">
            
                    
                    3.2 常见错误与常用配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >1.3 完全分布式环境搭建</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="hadoop&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x73AF;&#x5883;&#x642D;&#x5EFA;">Hadoop&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x73AF;&#x5883;&#x642D;&#x5EFA;</h2>
<p>&#x73AF;&#x5883;&#x51C6;&#x5907;&#xFF1A;
&#x7CFB;&#x7EDF;&#xFF1A;ubuntu18.04 server</p>
<p>&#x8F6F;&#x4EF6;&#xFF1A;hadoop3.1.2&#x3001;JDK8</p>
<p>&#x90E8;&#x7F72;&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;Hadoop&#xFF0C;&#x5148;&#x7406;&#x6E05;&#x601D;&#x8DEF;&#xFF0C;&#x505A;&#x4E2A;&#x89C4;&#x5212;&#xFF1A;</p>
<table>
<thead>
<tr>
<th>&#x4E3B;&#x673A;&#x540D;</th>
<th>&#x7528;&#x6237;&#x540D;</th>
<th>NameNode</th>
<th>DataNode</th>
<th>IP</th>
</tr>
</thead>
<tbody>
<tr>
<td>hadoop-master</td>
<td>hadoop</td>
<td>&#x221A;</td>
<td>&#xD7;</td>
<td>192.168.20.101</td>
</tr>
<tr>
<td>hadoop-slave1</td>
<td>slave</td>
<td>&#xD7;</td>
<td>&#x221A;</td>
<td>192.168.20.102</td>
</tr>
<tr>
<td>hadoop-slave2</td>
<td>slave</td>
<td>&#xD7;</td>
<td>&#x221A;</td>
<td>192.168.20.103</td>
</tr>
</tbody>
</table>
<h2 id="&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;hadoop&#x90E8;&#x7F72;">&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;Hadoop&#x90E8;&#x7F72;</h2>
<p>&#x914D;&#x7F6E;&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;&#x9700;&#x8981;&#x56DB;&#x4E2A;&#x6B65;&#x9AA4;&#xFF0C;1.&#x4F7F;&#x96C6;&#x7FA4;&#x4E2D;&#x673A;&#x5668;&#x80FD;&#x4E92;&#x8054;&#x4E92;&#x901A;&#xFF0C;2.&#x4E3B;&#x673A;&#x80FD;&#x514D;&#x5BC6;&#x767B;&#x5F55;&#x4ECE;&#x673A;&#xFF0C;3.&#x4FEE;&#x6539;&#x5BF9;&#x5E94;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x8BBE;&#x7F6E;&#x4E3B;&#x673A;&#x548C;&#x4ECE;&#x673A;&#xFF0C;4.&#x9A8C;&#x8BC1;&#x3002;</p>
<p>&#x51C6;&#x5907;&#x5DE5;&#x4F5C;&#xFF1A;ip&#x5730;&#x5740;&#xFF0C;&#x4E3B;&#x673A;&#x540D;</p>
<p><strong>ip&#x5730;&#x5740;</strong>&#xFF0C;<code>ubuntu18.04</code>&#x4F7F;&#x7528;<code>netplan</code>&#x7BA1;&#x7406;<code>ip</code>&#xFF0C;&#x901A;&#x8FC7;&#x4FEE;&#x6539;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4FEE;&#x6539;&#x4E09;&#x53F0;&#x673A;&#x5668;<code>ip</code>&#xFF1A; <code>vim /etc/netplan/*.yaml</code></p>
<pre><code>network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0:
      addresses:
        - 192.168.20.102/24
      gateway4: 192.168.20.1
      nameservers:
          search: [mydomain, otherdomain]
          addresses: [192.168.20.1, 8.8.8.8]
</code></pre><p>&#x4E3B;&#x673A;&#x540D;&#xFF0C;&#x5206;&#x522B;&#x4FEE;&#x6539;&#x4E09;&#x53F0;&#x673A;&#x5668;&#x4E3B;&#x673A;&#x540D;&#x4E3A;&#xFF1A;<code>hadoop-master&#xFF0C;hadoop-slave1&#xFF0C;hadoop-slave2</code></p>
<p>&#x5728;ubuntu18.04&#x7248;&#x672C;&#x4FEE;&#x6539;&#x4E3B;&#x673A;&#x540D;&#x9700;&#x8981;&#x5148;&#x4FEE;&#x6539; <code>/etc/cloud/cloud.conf</code>&#x6587;&#x4EF6;&#xFF0C;&#x8BBE;&#x7F6E;<code>perserve_hostname</code>&#x5C5E;&#x6027;&#x4E3A;<code>true</code></p>
<p><code>preserve_hostname: true</code></p>
<p>&#x7136;&#x540E;<code>vim /etc/hostname/</code>&#x4FEE;&#x6539;&#x4E3B;&#x673A;&#x540D;&#x79F0;&#x3002;</p>
<h3 id="1-&#x5206;&#x522B;&#x8BBE;&#x7F6E;&#x4E09;&#x53F0;&#x673A;&#x5668;&#x7684;ip&#x6620;&#x5C04;">1. &#x5206;&#x522B;&#x8BBE;&#x7F6E;&#x4E09;&#x53F0;&#x673A;&#x5668;&#x7684;Ip&#x6620;&#x5C04;</h3>
<p>&#x4FEE;&#x6539;Hosts</p>
<pre><code>
vim /etc/hosts
&#x6DFB;&#x52A0;
192.168.20.101    hadoop-master
192.168.20.102    hadoop-slave1
192.168.20.103    hadoop-slave2
</code></pre><h3 id="&#x914D;&#x7F6E;ssh&#x5B9E;&#x73B0;&#x514D;&#x5BC6;&#x767B;&#x5F55;">&#x914D;&#x7F6E;SSH&#x5B9E;&#x73B0;&#x514D;&#x5BC6;&#x767B;&#x5F55;</h3>
<p><code>vim /etc/ssh/sshd_config</code></p>
<p>&#x4FEE;&#x6539;&#x4E09;&#x53F0;&#x673A;&#x5668;ssh&#x914D;&#x7F6E;</p>
<pre><code>RSAAuthentication yes # &#x542F;&#x7528; RSA &#x8BA4;&#x8BC1;
PubkeyAuthentication yes # &#x542F;&#x7528;&#x516C;&#x94A5;&#x79C1;&#x94A5;&#x914D;&#x5BF9;&#x8BA4;&#x8BC1;&#x65B9;&#x5F0F;
AuthorizedKeysFile .ssh/authorized_keys # &#x516C;&#x94A5;&#x6587;&#x4EF6;&#x8DEF;&#x5F84;&#xFF08;&#x548C;&#x4E0A;&#x9762;&#x751F;&#x6210;&#x7684;&#x6587;&#x4EF6;&#x540C;&#xFF09;
</code></pre><p><code>service sshd restart</code></p>
<p>&#x91CD;&#x542F;<code>ssh</code>&#x3002;</p>
<p>&#x4EC5;&#x4ECE;&#x673A;&#x4F7F;&#x7528;slave&#x666E;&#x901A;&#x7528;&#x6237;&#x64CD;&#x4F5C;</p>
<p>&#x751F;&#x6210;&#x4ECE;&#x673A;&#x7684;&#x516C;&#x94A5;</p>
<pre><code>ssh-keygen -t rsa -P &quot;&quot;
slave1&#x4E0A;&#x6267;&#x884C;
scp ~/.ssh/id_rsa.pub master@192.168.20.101:~/.ssh/id_rsa.pub.s1
slave2&#x4E0A;&#x6267;&#x884C;
scp ~/.ssh/id_rsa.pub master@192.168.20.101:~/.ssh/id_rsa.pub.s2
</code></pre><p>&#x4E3B;&#x673A;&#x4E0A;hadoop&#x7528;&#x6237;&#x6267;&#x884C;&#xFF0C;&#x5C06;&#x4E3B;&#x673A;&#x7684;<code>authorized</code>&#x6587;&#x4EF6;&#x62F7;&#x8D1D;&#x81F3;&#x4ECE;&#x673A;&#x3002;</p>
<pre><code>cd ~/.ssh
cat id_rsa.pub.s1 &gt;&gt; authorized_keys
cat id_rsa.pub.s2 &gt;&gt; authorized_keys
scp ~/.ssh/authorized_keys master@192.168.20.101:~/.ssh
scp ~/.ssh/authorized_keys master@192.168.20.102:~/.ssh
</code></pre><p>&#x4ECE;&#x673A;&#x64CD;&#x4F5C;</p>
<p><code>chmod 600 ~/.ssh/authorized_keys</code></p>
<p>&#x6D4B;&#x8BD5;&#x514D;&#x5BC6;&#x767B;&#x5F55;&#xFF1A; <code>ssh  &#x7528;&#x6237;&#x540D;@&#x673A;&#x5668;&#x540D;</code></p>
<h3 id="3&#x914D;&#x7F6E;hadoop&#x4FEE;&#x6539;&#x914D;&#x7F6E;&#x6587;&#x4EF6;">3.&#x914D;&#x7F6E;hadoop&#x4FEE;&#x6539;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</h3>
<p>&#x8FD9;&#x91CC;&#x5217;&#x51FA;&#x7684;&#x4E24;&#x4E2A;&#x6587;&#x4EF6;&#x662F;&#x914D;&#x7F6E;&#x5206;&#x5E03;&#x5F0F;&#x73AF;&#x5883;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#xFF0C;&#x5176;&#x4ED6;&#x5FC5;&#x987B;&#x8981;&#x914D;&#x7F6E;&#x7684;&#x6587;&#x4EF6;&#xFF0C;&#x8BF7;&#x67E5;&#x770B;&#x4F2A;&#x5206;&#x5E03;&#x5F0F;&#x914D;&#x7F6E;&#x3002;</p>
<p><code>core-site.xml</code>&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code>&lt;configuration&gt;  
 &lt;property&gt;  
    &lt;name&gt;fs.default.name&lt;/name&gt;  
    &lt;value&gt;hdfs://hadoop-master:9000&lt;/value&gt;  
    &lt;description&gt;HDFS&#x7684;URI&#xFF0C;&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;://namenode&#x6807;&#x8BC6;:&#x7AEF;&#x53E3;&#x53F7;&lt;/description&gt;  
&lt;/property&gt;  
&lt;property&gt;  
    &lt;name&gt;hadoop.tmp.dir&lt;/name&gt;  
    &lt;value&gt;/usr/hadoop/tmp&lt;/value&gt;  
    &lt;description&gt;namenode&#x4E0A;&#x672C;&#x5730;&#x7684;hadoop&#x4E34;&#x65F6;&#x6587;&#x4EF6;&#x5939;&lt;/description&gt;  
&lt;/property&gt;  
&lt;/configuration&gt;
</code></pre><p><code>yarn-site.xml</code>&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code>&lt;configuration&gt;
    &lt;property&gt;
        &lt;name&gt;yarn.resourcemanager.hostname&lt;/name&gt;
        &lt;value&gt;master&lt;/value&gt;
    &lt;/property&gt;
    &lt;property&gt;
        &lt;name&gt;yarn.nodemanager.aux-services&lt;/name&gt;
        &lt;value&gt;mapreduce_shuffle&lt;/value&gt;
    &lt;/property&gt;
&lt;/configuration&gt;
</code></pre><p>&#x4FEE;&#x6539;<code>workers</code>&#xFF08;&#x914D;&#x7F6E;&#x5DE5;&#x4F5C;&#x8282;&#x70B9;&#xFF0C;3.X&#x7248;&#x672C;&#x4F7F;&#x7528;workers&#x6587;&#x4EF6;&#x66FF;&#x4EE3;&#x4E86;&#x4E4B;&#x524D;2.X&#x7684;slaves&#x548C;master&#x6587;&#x4EF6;&#xFF09;&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code>slave@hadoop-slave1
slave@hadoop-slave1
</code></pre><h3 id="4&#x542F;&#x52A8;&#x548C;&#x9A8C;&#x8BC1;&#x96C6;&#x7FA4;">4.&#x542F;&#x52A8;&#x548C;&#x9A8C;&#x8BC1;&#x96C6;&#x7FA4;</h3>
<p>&#x4F7F;&#x7528;<code>master</code>&#x7528;&#x6237;&#x548C;<code>slave</code>&#x7528;&#x6237;&#x91CD;&#x65B0;&#x521B;&#x5EFA;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5E76;&#x8BBE;&#x7F6E;&#x6743;&#x9650;&#x4E3A;&#x666E;&#x901A;&#x7528;&#x6237;&#x3002;</p>
<pre><code>sudo rm -r /usr/hadoop
sudo mkdir  /usr/hadoop
sudo chown -R master /usr/hadoop   #&#x4F7F;&#x7528;slave&#x673A;&#x5668;&#x662F;  &#x8FD9;&#x91CC;&#x7684;master&#x6539;&#x4E3A;slave
mkdir /usr/hadoop/tmp 
mkdir /usr/hadoop/hdfs 
mkdir /usr/hadoop/hdfs/data 
mkdir /usr/hadoop/hdfs/name
</code></pre><ol>
<li>&#x683C;&#x5F0F;&#x5316;HDFS&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#xFF1A;
&#x5728;&#x4E3B;&#x8282;&#x70B9;&#x4E0A;&#x4F7F;&#x7528;&#x666E;&#x901A;&#x7528;&#x6237;<code>master</code>&#x8FDB;&#x884C;&#x64CD;&#x4F5C;&#x3002;&#xFF08;&#x5907;&#x6CE8;&#xFF1A;&#x53EA;&#x9700;&#x4E00;&#x6B21;&#xFF0C;&#x4E0B;&#x6B21;&#x542F;&#x52A8;&#x4E0D;&#x518D;&#x9700;&#x8981;&#x683C;&#x5F0F;&#x5316;&#xFF0C;&#x53EA;&#x9700; <code>start-all.sh</code>&#xFF09;
<code>hadoop namenode -format</code>
&#x5982;&#x679C;&#x62A5;&#x9519;&#x6587;&#x4EF6;&#x5939;&#x65E0;&#x6CD5;&#x521B;&#x5EFA;&#xFF0C;&#x770B;&#x770B;<code>/usr/hadoop/tmp</code>&#x76EE;&#x5F55;&#x6743;&#x9650;&#x662F;&#x4E0D;&#x662F;&#x4E0D;&#x591F;</li>
<li>&#x542F;&#x52A8;<code>hadoop</code> 
&#x5728;&#x542F;&#x52A8;&#x524D;&#x5173;&#x95ED;&#x96C6;&#x7FA4;&#x4E2D;&#x6240;&#x6709;&#x673A;&#x5668;&#x7684;&#x9632;&#x706B;&#x5899;&#xFF0C;&#x4E0D;&#x7136;&#x4F1A;&#x51FA;&#x73B0;datanode&#x5F00;&#x540E;&#x53C8;&#x81EA;&#x52A8;&#x5173;&#x95ED;&#x3002;
&#x542F;&#x52A8; <code>hadoop</code>&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728; <code>Master</code> &#x4E2D;&#x7684; <code>tmp</code> &#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x751F;&#x6210;&#x4E86; <code>dfs</code> &#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5728;<code>Slave</code> &#x4E2D;&#x7684; <code>tmp</code> &#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x5747;&#x751F;&#x6210;&#x4E86; <code>dfs</code> &#x6587;&#x4EF6;&#x5939;&#x548C; <code>mapred</code> &#x6587;&#x4EF6;&#x5939;&#x3002;</li>
</ol>
<p>&#x505C;&#x6B62;&#x547D;&#x4EE4;&#xFF1A;</p>
<p><code>stop-all.sh</code></p>
<ol>
<li>&#x7528;<code>jps</code>&#x547D;&#x4EE4;&#x67E5;&#x770B;&#x8FDB;&#x7A0B;</li>
</ol>
<p>&#x4E3B;&#x673A;&#x4E0A;&#x8F93;&#x5165;<code>jps</code>&#x663E;&#x793A;&#xFF1A;</p>
<pre><code>12989 Jps
12599 NameNode
12776 SecondaryNameNode
12920 ResourceManager
</code></pre><p>&#x4ECE;&#x673A;&#x4E0A;&#x8F93;&#x5165;<code>jps</code>&#xFF0C;&#x663E;&#x793A;&#xFF1A;</p>
<pre><code>3270 DataNode
3482 Jps
3382 NodeManager
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="1.2.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 1.2 Hadoop伪分布式安装">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"1.3 完全分布式环境搭建","level":"1.2.3","depth":2,"next":{"title":"第二章 Hadoop高可用","level":"1.3","depth":1,"ref":"","articles":[{"title":"2.1 HadoopHA原理与机制","level":"1.3.1","depth":2,"path":"chapter2/HadoopHA原理.md","ref":"chapter2/HadoopHA原理.md","articles":[]},{"title":"2.2 HadoopHA搭建规划 ","level":"1.3.2","depth":2,"path":"chapter2/HadoopHA搭建规划.md","ref":"chapter2/HadoopHA搭建规划.md","articles":[]},{"title":"2.3 Zookeeper介绍","level":"1.3.3","depth":2,"path":"chapter2/Zookeeper介绍.md","ref":"chapter2/Zookeeper介绍.md","articles":[]},{"title":"2.4 Zookeeper配置","level":"1.3.4","depth":2,"path":"chapter2/Zookeeper搭建.md","ref":"chapter2/Zookeeper搭建.md","articles":[]},{"title":"2.5 HadoopHA配置","level":"1.3.5","depth":2,"path":"chapter2/HadoopHA配置.md","ref":"chapter2/HadoopHA配置.md","articles":[]}]},"previous":{"title":"1.2 Hadoop伪分布式安装","level":"1.2.2","depth":2,"path":"chapter1/1.2.md","ref":"chapter1/1.2.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter1/1.3.md","mtime":"2019-05-06T12:24:23.060Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-06T16:09:52.649Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

